﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DbDoc.BusinessObjects
{
    [Serializable()]  
    public class Comment
    {
        private int _Id;

        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }
        private string _Text;

        public string Text
        {
            get { return _Text; }
            set { _Text = value; }
        }
        private string _CreatedBy;

        public string CreatedBy
        {
            get { return _CreatedBy; }
            set { _CreatedBy = value; }
        }
        private string _ModifiedBy;

        public string ModifiedBy
        {
            get { return _ModifiedBy; }
            set { _ModifiedBy = value; }
        }
        private DateTime _CreatedOn;

        public DateTime CreatedOn
        {
            get { return _CreatedOn; }
            set { _CreatedOn = value; }
        }
        private DateTime _ModifiedOn;

        public DateTime ModifiedOn
        {
            get { return _ModifiedOn; }
            set { _ModifiedOn = value; }
        }
        private ICollection<Comment> _History;

        public ICollection<Comment> History
        {
            get { return _History; }
            set { _History = value; }
        }
    }
}
